import BaseCURDV2Api from '@/framework/infra/base/BaseCURDV2Api'

class ExpressLostApi extends BaseCURDV2Api {
  constructor() {
    super('cmt/express-lost')
  }

  updatePaidStatus(id, paidStatus) {
    return this.post('/update-paid-status', { id, paidStatus })
  }

  updateReceiveFlag(id, receiveFlag) {
    return this.post('/update-receive-flag', { id, receiveFlag })
  }

  updateResultStatus(data) {
    return this.post('/update-result-status', data)
  }
}

export const expressLostApi = new ExpressLostApi()
